<script setup>
import {ref} from 'vue'
const list = ref([
    {url:'',title:'用户列表'},//https://s21.ax1x.com/2024/05/09/pkZpghQ.png
    {url:'',title:'售后订单'},
    {url:'',title:'订单列表'},
    {url:'',title:'商家管理'},
    {url:'',title:'商家管理'},
    {url:'',title:'评论列表'},
    {url:'',title:'类目管理'},
    {url:'',title:'财务管理'},
])
</script>

<template>
    <div class="maxbox">
        <div class="left">
            <div class="title">快捷入口</div>
            <div class="btns">
                <div class="item" v-for="item in list">
                    <img src="https://s21.ax1x.com/2024/05/09/pkZpghQ.png" class="icon"/>
                    <span>{{item.title}}</span>
                </div>
            </div>
        </div>
        <div class="right flex-center">设置快捷入口</div>
    </div>
</template>

<style scoped lang="scss">
.maxbox{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.75rem;
    .left, .right{
        background: #fff;
        border-radius: 10px;
        height: 9.61rem;
        box-shadow: 0px 3px 6px 1px rgba(0,0,0,0.1);
    }
    .left{
        flex: 1;
        margin-right: 0.58rem;
        display: flex;
        flex-direction: column;
        padding: 1.17rem 0 1.75rem 0;
        .title{
            padding-left: 1.17rem;
            color:#333333;
            font-size: 0.93rem;
            font-weight: 500;
            margin-bottom: 1.75rem;
        }
        .btns{
            flex: 1;
            display: flex;
            align-items: center;
            .item{
                flex: 1;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                .icon{
                    width: 1.875rem;
                    height: 1.875rem;
                }
                span{
                    font-size: 1rem;
                    font-weight: 400;
                    color: #333333;
                }
            }
        }
    }
    .right{
        width: 9.61rem;
        color: #509A80;
        font-size: 0.93rem;
    }
}
</style>